package com.sp.scmdb.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Type;
import org.joda.time.DateTime;

import com.sp.scmdb.common.DomainObject;

@Entity
@Table(name = "Conf_LabelIO_Upload")
public class ConfLabelIOUpload extends DomainObject {

	@Column(name = "autoUploadTime")
	private Integer autoUploadTime;
	
	@Column(name = "uploadStatus")
	private Integer uploadStatus;
	
	@Column(name = "lastUploadTime")
	@Type(type = "org.joda.time.contrib.hibernate.PersistentDateTime")
	private DateTime lastUploadTime;
	
	@Column(name = "lastUploadID")
	private Integer lastUploadID;
	
	@Column(name = "lastInTime")
	@Type(type = "org.joda.time.contrib.hibernate.PersistentDateTime")
	private DateTime lastInTime; // 上传的最后一条记录的读卡时间
	
	@Column(name = "isUsed")
	private Integer isUsed;
	
	@Column(name = "rmk")
	private String rmk;

	public Integer getAutoUploadTime() {
		return autoUploadTime;
	}

	public void setAutoUploadTime(Integer autoUploadTime) {
		this.autoUploadTime = autoUploadTime;
	}

	public Integer getUploadStatus() {
		return uploadStatus;
	}

	public void setUploadStatus(Integer uploadStatus) {
		this.uploadStatus = uploadStatus;
	}

	public DateTime getLastUploadTime() {
		return lastUploadTime;
	}

	public void setLastUploadTime(DateTime lastUploadTime) {
		this.lastUploadTime = lastUploadTime;
	}

	public Integer getLastUploadID() {
		return lastUploadID;
	}

	public void setLastUploadID(Integer lastUploadID) {
		this.lastUploadID = lastUploadID;
	}

	public Integer getIsUsed() {
		return isUsed;
	}

	public void setIsUsed(Integer isUsed) {
		this.isUsed = isUsed;
	}

	public String getRmk() {
		return rmk;
	}

	public void setRmk(String rmk) {
		this.rmk = rmk;
	}

	public DateTime getLastInTime() {
		return lastInTime;
	}

	public void setLastInTime(DateTime lastInTime) {
		this.lastInTime = lastInTime;
	}
}
